@layout("/common/_container.html",{js:["/assets/storage/storagePutSingle/putjilu.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">Receipt Order Details Management</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
		                    <div class="layui-inline">
								<select id="singleState">
					            	<option value="">Select Status</option>
					            	<option value="NOT_RECEIVED">NOT_RECEIVED</option>
					            	<option value="RECEIVED">RECEIVED</option>
					        	</select>
		                    </div>
		                    <div class="layui-inline">
		                        <input id="storageNumber" class="layui-input" type="text" placeholder="Receipt Order No"/>
		                    </div>
		                    <div class="layui-inline">
		                        <input id="condition" class="layui-input" type="text" placeholder="Product Code, Name, Item No"/>
		                    </div>
		                    <div class="layui-inline">
		                        <input id="singleBatchnumber" class="layui-input" type="text" placeholder="Input Batch"/>
		                    </div>
		                    <div class="layui-inline">
								<select id="warehouseId">
					            	<option value="">Select Warehouse</option>
						            @for(item in basicWarehouseList!){
						            <option value="${item.id}">${item.warehouseName}</option>
						            @}
					        	</select>
		                    </div>
		                    <div class="layui-inline" style="width: 150px;">
		                        <input id="startSingleTime" class="layui-input" value="" type="text" placeholder="Receipt Date From"/>
		                    </div>
                            <div class="layui-inline">
                            	一
                            </div>
		                    <div class="layui-inline" style="width: 150px;">
		                        <input id="endSinglePutTime" class="layui-input" value="" type="text" placeholder="Receipt Date To"/>
		                    </div>
		                    <div class="layui-inline">
		                        <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>Search</button>
                				<button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>Export</button>
				                <button id="btnExpBySpec" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>Export XLSX by Condition</button>
		                    </div>
		                </div>
		            </div>
                    <table class="layui-table" id="storagePutSingleTable" lay-filter="storagePutSingleTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBarSingle">
  {{#  if(d.putNum != d.realNum){ }}
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="exceptionHandling">Exception Handling Records</a>
  {{#  } }}
</script>

<script type="text/html" id="singleStateTpl">
  {{#  if(d.singleState === 'Not Received'){ }}
    <span style="color: #FFC300;font-weight: 600;">{{ d.singleState }}</span>
  {{#  }else if(d.singleState === 'Received'){ }}
    <span style="color: #43CF7C;font-weight: 600;">{{ d.singleState }}</span>
  {{#  } else { }}
    {{ d.singleState }}
  {{#  } }}
</script>


@}